﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="UserManagement.aspx.cs" Inherits="Admin.UserManagement" Title="User list"
    ViewStateMode="Disabled" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <br />
    <br />
    <asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="false" AllowPaging="true"
        PageSize="25" OnPageIndexChanging="gvUsers_PageIndexChanging">
        <Columns>
            <asp:HyperLinkField ShowHeader="true" HeaderText="Username" DataTextField="UserName"
                DataNavigateUrlFormatString="~/Private/EditProfile.aspx?Username={0}" DataNavigateUrlFields="Username" />
            <asp:BoundField ShowHeader="true" HeaderText="E-mail" DataField="Email" />
            <asp:BoundField ShowHeader="true" HeaderText="Created" DataField="CreationDate" />
            <asp:BoundField ShowHeader="true" HeaderText="Last login" DataField="LastLoginDate" />
            <asp:CheckBoxField ShowHeader="true" HeaderText="Active" DataField="IsApproved" />
            <asp:CheckBoxField ShowHeader="true" HeaderText="Online" DataField="IsOnline" />
        </Columns>
    </asp:GridView>
</asp:Content>
